// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import VueRouter from 'vue-router'
import HelloWorld from './components/HelloWorld'
import HelloVue from './components/HelloVue'

Vue.config.productionTip = false
Vue.use(VueRouter)
var router = new VueRouter({
  routes:[
    {
    path: '/',
    component: HelloWorld
    },{
      path: '/hell',
      component: HelloVue
    }
  ]
})
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
